package test.heliotrope.utils.mission
{
	import flexunit.framework.Assert;
	
	import heliotrope.utils.mission.Mission;
	import heliotrope.utils.mission.MissionManager;
	
	import org.flexunit.asserts.assertEquals;

	public class MissionManagerTest
	{		
		private static var __mm:MissionManager;
		[Before]
		public function setUp():void
		{
			__mm.addMission(new Mission(trace, [["kk","sdaf"],[44,55]], "testMission"));
			__mm.addMission(new Mission(trace, [""], "testMission"));
			__mm.addMission(new Mission(trace, [""], "testMission"));
			__mm.addMission(new Mission(trace, [""], "testMission"));
		}
		
		[After]
		public function tearDown():void
		{
		}
		
		[BeforeClass]
		public static function setUpBeforeClass():void
		{
			__mm = new MissionManager("mm");
		}
		
		[AfterClass]
		public static function tearDownAfterClass():void
		{
		}
		
		//[Test]
		public function testAddMission():void
		{
			
		}
		
		[Test]
		public function testRun():void
		{
			__mm.run();
		}
		
		//[Test]
		public function testToString():void
		{
			Assert.assertEquals("MissionManager["+__mm.name+"]", __mm.toString());
		}
	}
}